package com.student.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "food详情对象", description = "食物实体详情类")
@TableName("food_nutrition")
public class FoodsDetail implements Serializable {
    private static final long serialVersionUID = -8769763818791325796L;

    @TableId(type= IdType.INPUT)
    private String foodId;
    private String name;
    private BigDecimal calory;
    private String caloryUnit;
    private BigDecimal joule;
    private String jouleUnit;
    private BigDecimal protein;
    private String proteinUnit;
    private BigDecimal fat;
    private String fatUnit;
    private BigDecimal saturatedFat;
    private String saturatedFatUnit;
    private BigDecimal fattyAcid;
    private String fattyAcidUnit;
    private BigDecimal mufa;
    private String mufaUnit;
    private BigDecimal pufa;
    private String pufaUnit;
    private BigDecimal cholesterol;
    private String cholesterolUnit;
    private BigDecimal carbohydrate;
    private String carbohydrateUnit;
    private BigDecimal sugar;
    private String sugarUnit;
    private BigDecimal fiberDietary;
    private String fiberDietaryUnit;
    private BigDecimal natrium;
    private String natriumUnit;
    private BigDecimal alcohol;
    private String alcoholUnit;
    private BigDecimal vitaminA;
    private String vitaminAUnit;
    private BigDecimal carotene;
    private String caroteneUnit;
    private BigDecimal vitaminD;
    private String vitaminDUnit;
    private BigDecimal vitaminE;
    private String vitaminEUnit;
    private BigDecimal vitaminK;
    private String vitaminKUnit;
    private BigDecimal thiamine;
    private String thiamineUnit;
    private BigDecimal lactoflavin;
    private String lactoflavinUnit;
    private BigDecimal vitaminB6;
    private String vitaminB6Unit;
    private BigDecimal vitaminB12;
    private String vitaminB12Unit;
    private BigDecimal vitaminC;
    private String vitaminCUnit;
    private BigDecimal niacin;
    private String niacinUnit;
    private BigDecimal folacin;
    private String folacinUnit;
    private BigDecimal pantothenic;
    private String pantothenicUnit;
    private BigDecimal biotin;
    private String biotinUnit;
    private BigDecimal choline;
    private String cholineUnit;
    private BigDecimal phosphor;
    private String phosphorUnit;
    private BigDecimal kalium;
    private String kaliumUnit;
    private BigDecimal magnesium;
    private String magnesiumUnit;
    private BigDecimal calcium;
    private String calciumUnit;
    private BigDecimal iron;
    private String ironUnit;
    private BigDecimal zinc;
    private String zincUnit;
    private BigDecimal iodine;
    private String iodineUnit;
    private BigDecimal selenium;
    private String seleniumUnit;
    private BigDecimal copper;
    private String copperUnit;
    private BigDecimal fluorine;
    private String fluorineUnit;
    private BigDecimal manganese;
    private String manganeseUnit;
    private int    healthLight;
    private String healthTips;
    private String healthSuggest;
    private BigDecimal giValue;
    private String giLabel;
    private BigDecimal glValue;
    private String glLabel;
}
